# result = User.objects.filter(age__gt=4)
# 查询age大于4的数据

# 或
# age__in=(1,2,3,4)

# between 。。。 and 。。。
# age__range=(1,4)

# like  %xxx%
# User.objects.filter(username__contains='张')

# like xxx%
# User.objects.filter(username__startswith='张')
# like %xxx
# User.objects.filter(username__endswith='张')

# 指定日期进行查询
# User.objects.filter(birthday__year=2023)
# User.objects.filter(birthday__day=20)
# ...


